package com.ruoyi.bizsys.mapper;

import java.util.List;

import com.ruoyi.bizsys.domain.BankAccountLog;

/**
 * BankAccountLogMapper接口
 *
 * @author african-loan
 * @date 2021-12-28
 */
public interface BankAccountLogMapper{
    /**
     * 查询BankAccountLog
     *
     * @param id BankAccountLogID
     * @return BankAccountLog
     */
    public BankAccountLog selectBankAccountLogById(Long id);

    /**
     * 查询BankAccountLog列表
     *
     * @param bankAccountLog BankAccountLog
     * @return BankAccountLog集合
     */
    public List<BankAccountLog> selectBankAccountLogList(BankAccountLog bankAccountLog);

    /**
     * 新增BankAccountLog
     *
     * @param bankAccountLog BankAccountLog
     * @return 结果
     */
    public int insertBankAccountLog(BankAccountLog bankAccountLog);

    /**
     * 修改BankAccountLog
     *
     * @param bankAccountLog BankAccountLog
     * @return 结果
     */
    public int updateBankAccountLog(BankAccountLog bankAccountLog);

    /**
     * 删除BankAccountLog
     *
     * @param id BankAccountLogID
     * @return 结果
     */
    public int deleteBankAccountLogById(Long id);

    /**
     * 批量删除BankAccountLog
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteBankAccountLogByIds(Long[] ids);

    /**
     * 获取用户当日绑定account 次数
     * @param userId
     * @return
     */
    int selectBindAccountNumByUserId(String userId);
}
